<template>
  <v-card v-if="selectedTask" height="168">
    <v-spacer>
      <v-col class="pt-7"> <h4>Are you sure to delete the task?</h4></v-col>
      <v-col>
        {{ selectedTask.taskNumber }}
        {{ selectedTask.taskName }}
      </v-col>
      <v-col>
        <v-btn class="elevation-0" fab height="32" width="32" color="#D9D9D9">
          <v-icon color="#556282">mdi-delete</v-icon>
        </v-btn>
      </v-col>
    </v-spacer>
  </v-card>
</template>

<script lang="ts">
import { Vue, Component } from "vue-property-decorator";
import { ITaskItem } from "@/components/Project/index";
@Component({
  components: {},
})
export default class DeleteTask extends Vue {
  get selectedTask(): ITaskItem {
    return this.$store.state.ProjectsStore.selectedTask;
  }
}
</script>
